build executables with -fPIE, not -fPIC
authorDebian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Fri, 17 Oct 2025 14:12:47 +0000 (10:12 -0400)
committerAaron M. Ucko <ucko@debian.org>
Fri, 17 Oct 2025 14:12:47 +0000 (10:12 -0400)
commitc55cfc59c066a1775fbd2e0f065033d11bce06d4
tree5682c41be5b4c21a05dd6c4e29e8178948da8bd1
parente1a0d1932ccb826b08710ea308ecfd8ff2d5528f
build executables with -fPIE, not -fPIC

* -fPIC is only useful for shared libraries; substitute -fPIE (along
   with -pie at link time) when building executables.

Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2012-05-10

Gbp-Pq: Name use_pie_for_apps
c++/src/build-system/Makefile.app.in